package com.zcsy.manage.model.mall;

import java.util.Date;
import java.util.List;



public class GoodsCategory {

	/**
	 * 主键id<br>
	 */
	private String id;
	
	/**
	 * 商品分类名称<br>
	 */
	private String name;
	
	/**
	 * 商品分类名称<br>
	 */
	private String sname;
	
	/**
	 * 商品分类等级<br>
	 */
	private int level;
	
	/**
	 * 上级分类id<br>
	 */
	private String parentId;
	
	/**
	 * 上级分类名称（用于页面显示）<br>
	 */
	private String parentName;
	
	/**
	 * 商品图片<br>
	 */
	private String logo;
	
	/**
	 * 商品描述<br>
	 */
	private String descrip;
	
	/**
	 * 是否需要配送1：是  0：否   默认为1<br>
	 */
	private int isNeedDistribute;
	
	/**
	 * 是否需要平台服务费1是、0否，默认0<br>
	 */
	private int isServicePrice;
	
	/**
	 * 是否需要商家确认1是、0否，默认1<br>
	 */
	private int isNeedConfrim;
	
	/**
	 * 发布人账号<br>
	 */
	private String userAccount;
	
	/**
	 * 发布时间<br>
	 */
	private Date sendTime;
	
	/**
	 * 更新时间<br>
	 */
	private Date updateTime;
	
	/**
	 * 排序<br>
	 */
	private int sort;
	
	/**
	 * 备注<br>
	 */
	private String memo;
	
	/**
	 * 是否是叶子节点true:是  false:否（用于页面显示）<br>
	 */
	private boolean isLeaf;
	
	/**
     * 2级分类列表<br>
     */
	private List<GoodsCategory> secondList;

    public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public int getIsNeedDistribute() {
		return isNeedDistribute;
	}

	public void setIsNeedDistribute(int isNeedDistribute) {
		this.isNeedDistribute = isNeedDistribute;
	}

	public int getIsServicePrice() {
		return isServicePrice;
	}

	public void setIsServicePrice(int isServicePrice) {
		this.isServicePrice = isServicePrice;
	}

	public int getIsNeedConfrim() {
		return isNeedConfrim;
	}

	public void setIsNeedConfrim(int isNeedConfrim) {
		this.isNeedConfrim = isNeedConfrim;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public String getDescrip() {
		return descrip;
	}

	public void setDescrip(String descrip) {
		this.descrip = descrip;
	}

	public boolean isLeaf() {
		return isLeaf;
	}

	public void setLeaf(boolean isLeaf) {
		this.isLeaf = isLeaf;
	}

    public List<GoodsCategory> getSecondList() {
        return secondList;
    }

    public void setSecondList(List<GoodsCategory> secondList) {
        this.secondList = secondList;
    }
}
